package com.paypal.android.a.a;

import org.w3c.dom.Element;
import org.w3c.dom.NodeList;

public final class k
{
  public a a = null;
  public g b = null;

  public static k a(Element paramElement)
  {
    if (paramElement == null)
      return null;
    k localk = new k();
    localk.a = null;
    localk.b = null;
    NodeList localNodeList = paramElement.getChildNodes();
    int i = localNodeList.getLength();
    int j = 0;
    if (j < i)
    {
      Element localElement = (Element)localNodeList.item(j);
      String str = localElement.getTagName();
      if (str.equals("charge"))
      {
        a locala = a.a(localElement);
        if (locala != null)
          localk.a = locala;
      }
      while (true)
      {
        j++;
        break;
        if (str.equals("fundingSource"))
        {
          g localg = g.a(localElement);
          if (localg != null)
            localk.b = localg;
        }
      }
    }
    if ((localk.a == null) || (localk.b == null))
      return null;
    return localk;
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.a.a.k
 * JD-Core Version:    0.6.2
 */